package com.findfuture.demo.service;

import com.findfuture.common.util.QueryResult;
import com.findfuture.demo.model.Images;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Alex
 * Date: 11-12-19
 * Time: 下午8:56
 * To change this template use File | Settings | File Templates.
 */
public interface IImageService {

    public void deleteImage(int id) throws Exception;

    public void addImage(Images image) throws  Exception;
    
    public void updateDesc(int imageId , String desc) throws Exception;
    public List<Images> getImages() throws Exception;
    public QueryResult getImagesByWhere(String where , int pageNum , int pageSize) throws Exception;
    public Images getImageById(int id);
    void updateImage(Images images) throws Exception;
}
